import request from '@/utils/request'

export function add(data) {
    return request({
      url: '/api/encrypt',
      method: 'post',
      data
    })
  }

  export function get(params) {
    return request({
      url: '/api/encrypt',
      method: 'get',
      params
    })
  } 
  
  export function edit(data) {
    return request({
      url: '/api/encrypt',
      method: 'put',
      data
    })
  } 
  
  export function del(data) {
    return request({
      url: '/api/encrypt',
      method: 'delete',
      data
    })
  }